/*
 * =====================================================================================
 *
 *       Filename:  tuple.cc
 *
 *    Description:  implementation of tuple functions
 *
 *        Version:  1.0
 *        Created:  07/29/09 12:05:24
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  Gestrom Drawn (mn), zhcfreesea@gmail.com
 *        Company:  zhc
 *
 * =====================================================================================
 */


#include<iostream>
#include<string>
#include<map>
#include"tuple.h"

using namespace std;

void Tuple::show_tuple(void)
{
    string action_table[] = {"EATING", "SLEEPING"};
    string excitation_table[] = {"NONE", "HUNGER"};
    string state_table[] = {"FULL", "HUNGERY"};
    cout << "time is " << _time << endl;
    cout << "Gestorm is " << state_table[_state] << " and get an excitation of "
        << excitation_table[_excitation] << " and he is " << action_table[_action]
        << endl;
}
